package com.yzt.message.widget.chatinput.listener;


import com.yzt.zhuju.richtext.entity.AlbumsResponse;
import com.yzt.zhuju.richtext.entity.EmojiData;
import com.yzt.message.widget.chatinput.model.FileItem;

import java.util.List;

/**
 * Menu items' callbacks
 */
public interface OnMenuClickListener {

    /**
     * Fires when send button is on click.
     *
     * @param input Input content
     * @return boolean
     */
    boolean onSendTextMessage(CharSequence input, boolean isCheck);

    /**
     * Files when send photos or videos.
     * When construct send message, you need to judge the type
     * of file item, according to
     *
     * @param list List of file item objects
     */
    void onSendFiles(List<FileItem> list);

    /**
     * Fires when photo button is on click.
     */
    boolean switchToGalleryMode();

    /**
     * Fires when emoji button is on click.
     */
    boolean switchToEmojiMode();

    boolean switchToMoreMenu();

    boolean switchToGiftMenu();

    boolean switchToVoiceMenu();

    boolean switchToRedPackageMenu();

    boolean switchTouzi();

    boolean openRecordPermission();
}